@import 'variables';

.primary-sticky-nav {
  display: none;
  @media screen and ( min-width: 1250px ){
    display: block;
    position: fixed;
    left: calc(50% + 298px);
    top: 80px;
    bottom: 20px;
    width: 310px;
    display: flex;
    flex-flow: column wrap;
    overflow: hidden;
    z-index: 100;
  }
  .primary-sticky-nav-author{
    a{
      color: $black;
    }
    .primary-sticky-nav-author-top-profile-image{
      width: 35px;
      height: 35px;
      border-radius: 360px;
      margin-right: 5px;
      vertical-align: -9px;
    }
    .primary-sticky-nav-author-name{
      font-size:1.3em;
      font-weight: bold;
    }
    .primary-sticky-nav-author-summary{
      font-weight: 400;
      color: $medium-gray;
      padding: 10px 0px 5px;
      font-style: italic;
      font-size:0.88em;
    }
    .primary-sticky-nav-author-follow{
      padding-top:8px;
      button{
        width:135px;
        font-size:1.1em;
        border:0px;
        border-radius:3px;
        padding: 3px;
        height: 29px;

      }
    }
  }
  .primary-sticky-nav-profile-image{
    height: 23px;
    width: 23px;
    border-radius: 100px;
    vertical-align: -5px;
  }
  .primary-sticky-nav-title{
    padding: 8px 0px 9px;
    margin-left: 15px;
    font-weight: bold;
    img{
      width: 19px;
      height: 19px;
      vertical-align: -1px;
    }
    a{
      color: $black;
      display: inline-block;
    }
  }
  .primary-sticky-nav-element{
    display: block;
    padding: 10px 13px;
    font-size:0.9em;
    font-weight: bold;
    background: white;
    margin-bottom: 10px;
    margin-left: 10px;
    border: 1px solid $outline-color;
    box-shadow: $bold-shadow;
    color: $black;
    width: 262px;
    border-radius: 3px;
    &.sticky-join-cta{
      margin-top: 12px;
      padding: 16px 13px;
      background: lighten($yellow, 16%);
      border: 1px solid darken($yellow, 15%);
      box-shadow: 5px 6px 0px darken($yellow, 15%);
      img{
        width: 22px;
        height: 22px;
        margin-left: 3px;
        margin-right: 2px;
        vertical-align: -3px;
      }
      &:hover{
        background: lighten($yellow, 12%);
        border: 1px solid darken($yellow, 12%);
        box-shadow: 5px 6px 0px darken($yellow, 12%);
      }
    }
    .primary-sticky-nav-element-details{
      margin-top:9px;
      font-size: 0.8em;
      color: $medium-gray;
    }
    &:hover{
      color: $black;
      border: 1px solid darken($light-medium-gray, 17%);
      box-shadow: 3px 4px 0px darken($light-medium-gray, 17%);
    }
  }
}

.primary-sticky-nav-org{
  position:relative;
  .sticky-box-connector{
    position:absolute;
    top: - 10px;
    height: 10px;
    width: 5px;
    background: $outline-color;
    left: 15px;
    &.sticky-box-right-connector{
      left: auto;
      right: 15px;
    }
  }
  .primary-sticky-nav-org-summary{
    font-weight: 400;
    color: $medium-gray;
    padding: 0px 0px 5px;
    font-size:0.88em;
    p{
      margin:5px 0px;
    }
  }
  button{
    min-width:135px;
    font-size:1.1em;
    border:0px;
    border-radius:3px;
    padding: 3px;
    display: block;
    margin-top:18px;
  }
}